package com.bean;

import lombok.Data;

import java.sql.Date;

@Data
public class Phone {
    private int id; // 编号
    private String name; // 名称
    private float price; // 价格
    private String model; // 型号
    private String color; // 颜色
    private String origin; // 产地
    private Date time;  // 时间

    public Phone() {
    }

    public Phone(int id, String name, float price, String model, String color, String origin, Date time) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.model = model;
        this.color = color;
        this.origin = origin;
        this.time = time;
    }
}
